package com.taichuan.selfcheck.eventbus;

import java.util.Arrays;

/**
 * 该类主要用于
 *
 * @author CamelLuo
 * @version 2020/5/19
 */
public class Serial485DataEvent {
    private byte[] srcData;

    private String standardCard;

    public Serial485DataEvent(byte[] srcData, String standardCard) {
        this.srcData = srcData;
        this.standardCard = standardCard;
    }

    public byte[] getSrcData() {
        return srcData;
    }

    public String getStandardCard() {
        return standardCard;
    }

    @Override
    public String toString() {
        return "Serial485DataEvent{" +
                "srcData=" + Arrays.toString(srcData) +
                ", standardCard='" + standardCard + '\'' +
                '}';
    }
}
